package uestc.lj.gulishop.product.vo;

import lombok.Data;
import lombok.ToString;
import uestc.lj.gulishop.product.entity.SkuImagesEntity;
import uestc.lj.gulishop.product.entity.SkuInfoEntity;
import uestc.lj.gulishop.product.entity.SpuInfoDescEntity;

import java.util.List;


/**
 * 商品详情页的实体类
 *
 * @Author:Crazlee
 * @Date:2021/6/9
 */
@Data
@ToString
public class SkuItemVO {
    /**
     * sku基本信息
     */
    private SkuInfoEntity skuInfoEntity;

    /**
     * sku是否有货
     */
    private boolean hasStock = true;
    /**
     * sku的图片信息
     */
    private List<SkuImagesEntity> images;

    /**
     * spu的销售属性
     */
    private List<SkuItemSaleAttrsVO> saleAttr;
    /**
     * spu的介绍信息
     */
    private SpuInfoDescEntity desp;

    /**
     * spu的规格参数信息
     */
    private List<SpuItemAttrGroupVO> groupAttrs;
    /**
     * 当前商品的秒杀优惠信息
     */
    private SeckillInfoVO seckillInfoVO;

}

